package com.programme.one;

import java.util.Random;

/**
 * ClassName: PrefixSorting
 * Description: 烙饼算法
 *
 * @author kang.wang03
 *         Date 2016/12/1
 */
public class PrefixSorting {
    public static void main(String args[]) {
        int sort[] = new int[10];
        for (int i = 0; i < 10; i++) {
            sort[i] = new Random().nextInt(1000);
        }
    }

    public static void init(int sorts[]) {
        //获取最大翻转次数
        int maxSwap = upBound(sorts.length);

        int[] sortTmp = new int[sorts.length];


    }

    private static int upBound(int c) {
        return c * 2;
    }
}
